@import '~@/theme/index.less';
.pro-crm-home-calendar {
  font-size: 14px;
  min-height: 244px;
  background: @background-color;
  position: absolute;
  top: 44 * @hd;
  right: 0;
  bottom: 0;
  left: 0;
  .calendar-show,
  .calendar-add {
    display: inline-block;
    cursor: pointer;
  }
  .calendar-add {
    color: @primary-color;
    float: right;
  }
  .calendar-month {
    color: @primary-color;
    text-align: center;
    position: relative;
    background: #ffffff;
    padding: 10px 0;
    * {
      cursor: pointer;
      display: inline-block;
      padding: 4px 10px;
    }
    .text {
      width: 160px * @hd;
      text-align: center;
      cursor: auto;
    }
    .today {
      position: absolute;
      right: 0;
    }
  }
  .calendar-days {
    margin-top: 1px;
    background: #ffffff;
    padding: 10px 0;
    margin-bottom: 10 * @hd;
    .week,
    .week-header {
      margin: 4px 0;
      padding: 0 20px;
      .day {
        width: 100% / 7;
        color: #333333;
        text-align: center;
        line-height: 38px;
        list-style-type: none;
        display: inline-block;
        font-size: 12px * @hd;
      }
    }
    .week {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 20px;
      background: #ffffff;
      .day {
        cursor: pointer;
        position: relative;
        display: flex;
        width: 100% / 7;
        border-radius: 100%;
        font-size: 34px;
        color: rgba(63, 63, 63, 1);
        align-items: center;
        justify-content: center;
        padding-bottom: 40px;
        > span {
          width: 56px;
          height: 56px;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
      .other-month {
        color: #d0d0d0;
      }
      .today span,
      .select span {
        background: #f2f2f2;
        border-radius: 100%;
        padding: 2px 8px;
      }
      .select span {
        color: #ffffff;
        background: @primary-color;
      }
      .task:after {
        position: absolute;
        content: ' ';
        padding: 2px;
        border-radius: 100%;
        bottom: 20%;
        left: 50%;
        transform: translate(-50%, 0);
        margin-left: -1px;
        background: @primary-color;
      }
    }
  }
  .calendar-days.collapse {
    .week {
      display: none;
    }
    .week.select {
      display: initial;
    }
  }
  .collapse-btn {
    margin: 10px 0;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: #d0d0d0;
    cursor: pointer;
    position: relative;
  }
  .calendar-tasks {
    .task {
      // overflow: hidden;
      // white-space: nowrap;
      // text-overflow: ellipsis;
      display: flex;
      background: #ffffff;
      border-bottom: 1px solid #f5f5f5;
      padding: 10 * @hd 15 * @hd;
      &:active {
        background: #eeeeee;
      }
      .type {
        height: auto;
        width: 4px;
        border-radius: 2px;
        // background: @primary-color;
      }

      .text {
        color: #333333;
        flex: 1;
        margin: 0;
        margin-left: 10 * @hd;
        font-size: 15 * @hd;
        color: #3f3f3f;
        > span {
          display: block;
          &:last-child {
            font-size: 11 * @hd;
          }
        }
      }
    }
  }
  .no_calendar {
    margin: 0;
    text-align: center;
    height: 44 * @hd;
    line-height: 44 * @hd;
    color: #A9ABA9;
    font-size: 17 * @hd;
    margin-top: 50 * @hd;
  }
}

.float-btn {
  &.je-audio-btn-syrc {
    position: fixed;
    z-index: 998;
    bottom: 150 * @hd;
    right: 40 * @hd;
    background: #F9A646;
    border-radius: 100%;
    width: 50 * @hd;
    height: 50 * @hd;
    display: flex;
    align-items: center;
    justify-content: center;
    .jeicon {
      color: #ffffff;
      font-size: 20 * @hd;
    }
  }
}